import request from '@/utils/request'
// 查询人员列表
export function listAccessPeople(query) {
  return request({
    url: 'access/access/getHkRcord',
    method: 'get',
    params: query
  })
}

// 新增人员
export function addPeople(data) {
  return request({
    url: 'access/access/addHkRcord',
    method: 'post',
    data: data
  })
}
// 查询人员详细
export function getPoeple(query) {
  return request({
    url: 'access/access/getHkRecordById',
    method: 'get',
    params: query
  })
}
// 修改人员
export function updatePeople(data) {
  return request({
    url: 'access/access/updateHkRcord',
    method: 'post',
    data: data
  })
}
// 删除人员
export function delPeople(data) {
  return request({
    url: 'access/access/delHkRcord',
    method: 'post',
    data: data
  })
}